package it.traveldream.dto;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotEmpty;

public class ProductTypeDTO implements Serializable {

	public enum ProductType {
		EXCURSION("2"),
		TRANSPORTMEAN("3"),
		HOTEL("4");
		
		protected String ID;
		ProductType(String id){
			this.ID = id;
		}
		public String getID(){
			return this.ID;
		}
	};
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@NotEmpty
	private Long productTypeId;
	@NotEmpty
	private String name;
	public Long getProductTypeId() {
		return this.productTypeId;
	}
	public void setProductTypeId(Long productTypeId) {
		this.productTypeId = productTypeId;
	}
	public String getName() {
		return this.name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	

}
